package com.vo;

import java.util.Date;

import javax.validation.constraints.NotNull;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Setter;

/**
 * @table  resource
 */
@Setter
@Data
@ApiModel(value = "resource")
public class ResourceVO implements Serializable {
	/**
	* @Fields serialVersionUID : TODO
	*/
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("id")
    private Long id;
    
	@ApiModelProperty("资源名称")
    private String name;
    
	@ApiModelProperty("资源描述")
    private String comment;
    
	@ApiModelProperty("父资源ID")
    private Long parentId;
    
	@ApiModelProperty("层级")
    private Integer level;
    
	@ApiModelProperty("接口地址")
    private String url;
    
	@ApiModelProperty("请求方式（GET、POST、DELETE、PUT）")
    private String method;
    
	@ApiModelProperty("状态：1正常0删除")
    private Integer status;
    
	@ApiModelProperty("创建时间")
    private Date createTime;
    
	@ApiModelProperty("创建人")
    private String created;
    
	@ApiModelProperty("更新时间")
    private Date updateTime;
    
	@ApiModelProperty("更新人")
    private String updated;
	

	@ApiModelProperty("序号")
	private Integer sortNum;

	private  Boolean isShow=true;

    public Boolean getShow() {
        return isShow;
    }

    public void setShow(Boolean show) {
        isShow = show;
    }
}